package com.ming_za.odupdaterserver.core.vo.req;

import com.ming_za.odupdaterserver.core.annotation.ClientPath;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "设置资源客户端路径所需参数")
@Data
public class SetResClientPathVo {

    @Schema(description = "资源id")
    @NotNull(message = "资源id不能为空")
    private Long resId;

    @Schema(description = "客户端路径")
    @NotEmpty(message = "客户端路径不能为空")
    @ClientPath
    private String path;

}
